package ar.com.raulsanchez.syncrolist;

import android.app.Dialog;
import android.app.DialogFragment;
import android.app.TimePickerDialog;
import android.os.Bundle;

public class TimePickerFragment extends DialogFragment{

	private int hour;
	private int minutes;
	private int seconds;
	
    @Override
    public Dialog onCreateDialog(Bundle savedInstanceState) {
    	return new TimePickerDialog(getActivity(), (ActivityEditActivity)getActivity(), hour, minutes, true);
    }

    public void setTime(int h, int m, int s) {
    	hour	= h;
    	minutes = m;
    	seconds = s;
    }
}